home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 5 / P&K_MAND / CMANDELB.H next >
Text File  |  1991-12-14  |  715b  |  32 lines

  1. /****
  2.  * CMandelbrotDoc.h
  3.  *
  4.  *    Document class for a typical application.
  5.  *
  6.  ****/
  7.  
  8. #define    _H_CMandelbrotDoc            /* Include this file only once */
  9. #include <CDocument.h>
  10. #include <CApplication.h> 
  11.  
  12. struct CMandelbrotDoc : CDocument {
  13.  
  14.                                     /** Construction/Destruction **/
  15.                                     
  16.     
  17.     void        IMandelbrotDoc(CApplication *aSupervisor, Boolean printable);
  18.     void        Dispose(void);
  19.  
  20.     void        DoCommand(long theCommand);
  21.  
  22.     void        UpdateMenus(void);  
  23.  
  24.     void        NewFile(void);
  25.     void        OpenFile(SFReply *macSFReply);
  26.     void        BuildWindow(Handle theData);
  27.     
  28.                                     /** Filing **/
  29.     Boolean        DoSave(void);
  30.     Boolean        DoSaveAs(SFReply *macSFReply);
  31.     void        DoRevert(void);
  32. };